Skip to content

feat(init): add support for kilocode and antigravity agents#802

Open
Yosoyepa wants to merge 1 commit intortk-ai:developfrom
Yosoyepa:feat/add-new-agents
Open

feat(init): add support for kilocode and antigravity agents#802
Yosoyepa wants to merge 1 commit intortk-ai:developfrom
Yosoyepa:feat/add-new-agents

Conversation

@Yosoyepa
Copy link

Add support for generating rules for Kilo Code and Google Antigravity via rtk init.

Summary

  • Added CLI Flags: Extended AgentTarget to support --agent kilocode and --agent antigravity.
  • Injected Agent Rules: Created specific markdown instruction files matching the original token-loss guidelines for both assistants (.kilocode/rules/rtk-rules.md and .agent/rules/antigravity-rtk-rules.md).
  • Maintained Code Style: Kept the new init::run console outputs consistent and free of emojis to strictly follow the project's formatting conventions.

Test plan

  • cargo fmt --all && cargo clippy --all-targets && cargo test
  • Manual testing: rtk <command> output inspected (Successfully tested rtk gain, rtk git status locally to ensure the new settings inject and reduce token usage without issues).

@CLAassistant
Copy link

CLAassistant commented Mar 25, 2026

CLA assistant check
All committers have signed the CLA.

@pszymkowiak pszymkowiak added effort-small Quelques heures, 1 fichier enhancement New feature or request labels Mar 25, 2026
@pszymkowiak
Copy link
Collaborator

[w] wshm · Automated triage by AI

📊 Automated PR Analysis

Type feature
🟢 Risk low

Summary

Adds support for two new agent targets (Kilo Code and Google Antigravity) to the rtk init command. This includes new CLI flags, markdown rule files for each agent, and corresponding init mode functions that write rules to agent-specific directories.

Review Checklist

  • Tests present
  • Breaking change
  • Docs updated

Analyzed automatically by wshm · This is an automated analysis, not a human review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

effort-small Quelques heures, 1 fichier enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants